package com.shycloud.mido.homework.api.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.Data;

@Data
@TableName(value = "mido_homework_comment")
public class MidoHomeworkComment extends Model<MidoHomeworkComment> {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    @TableField(value = "homework_id")
    private Long homeworkId;

    @TableField(value = "rank")
    private Integer rank;

    @TableField(value = "recording_src")
    private String recordingSrc;

    @TableField(value = "remark")
    private String remark;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "del_flag")
    private Integer delFlag;

    public static final String COL_ID = "id";

    public static final String COL_HOMEWORK_ID = "homework_id";

    public static final String COL_RANK = "rank";

    public static final String COL_RECORDING_SRC = "recording_src";

    public static final String COL_REMARK = "remark";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_DEL_FLAG = "del_flag";
}